#ifndef ANALYSINGTHREAD_H
#define ANALYSINGTHREAD_H

#include <QThread>

#include <QTextStream>
#include <QFile>
#include <QDebug>

class AnalysingThread : public QThread
{
    Q_OBJECT

public:
    explicit AnalysingThread(QString str);

    int getNumOfFucked();

    QString replaceChinese(QString s);

    QString replaceGreek(QString s);

    void writeString();

protected:
    void run();

private:
    QString s;

    int numOfFucked = 0;

    QStringList *fixedStringList;
};

#endif // ANALYSINGTHREAD_H
